Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor code to increase code quality and type coverage #1868

Merged
merged 44 commits into from
Jul 17, 2024

Conversation

caendesilva
Copy link
Member

@caendesilva caendesilva commented Jul 17, 2024

Resolves ~200 Psalm issues and brings type coverage from 97.82% to 99.97%

@caendesilva caendesilva force-pushed the increase-type-coverage branch from 1f0bced to c4c59c5 Compare July 17, 2024 14:13
Copy link

codecov bot commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (5ae8812) to head (f5d6b6f).
Report is 2 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##              master     #1868   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
+ Complexity      1765      1764    -1     
===========================================
  Files            182       182           
  Lines           4706      4704    -2     
===========================================
- Hits            4706      4704    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@caendesilva caendesilva force-pushed the increase-type-coverage branch from 0e3a388 to c3edbb6 Compare July 17, 2024 15:19
@caendesilva caendesilva changed the title Increase type coverage Refactor code to increase code quality and type coverage Jul 17, 2024
These collections always contain these types, we should be able to get the data from the generics as they're hardcoded
@caendesilva caendesilva force-pushed the increase-type-coverage branch from a150001 to 2e9ab04 Compare July 17, 2024 15:28
@caendesilva caendesilva temporarily deployed to pr-documentation-1868 July 17, 2024 15:28 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1868 July 17, 2024 15:31 — with GitHub Actions Inactive
@caendesilva caendesilva force-pushed the increase-type-coverage branch from 04f8f56 to 6c5159b Compare July 17, 2024 16:21
@caendesilva caendesilva temporarily deployed to pr-documentation-1868 July 17, 2024 16:21 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1868 July 17, 2024 16:35 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1868 July 17, 2024 16:37 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1868 July 17, 2024 16:39 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1868 July 17, 2024 16:39 — with GitHub Actions Inactive
@caendesilva caendesilva force-pushed the increase-type-coverage branch from 247aec5 to ba198dc Compare July 17, 2024 16:41
@caendesilva caendesilva temporarily deployed to pr-documentation-1868 July 17, 2024 16:41 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1868 July 17, 2024 16:41 — with GitHub Actions Inactive
@caendesilva caendesilva force-pushed the increase-type-coverage branch from 69705f4 to 140e38b Compare July 17, 2024 16:48
@caendesilva caendesilva temporarily deployed to pr-documentation-1868 July 17, 2024 16:48 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1868 July 17, 2024 16:54 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1868 July 17, 2024 16:56 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1868 July 17, 2024 16:58 — with GitHub Actions Inactive
@caendesilva
Copy link
Member Author

Okay, literally impossible for us to get higher type coverage! Only two mixed types left, and those are developer hooks where we actually cannot know the types.

image

@caendesilva caendesilva marked this pull request as ready for review July 17, 2024 17:12
@caendesilva caendesilva merged commit 05dd78e into master Jul 17, 2024
25 checks passed
@caendesilva caendesilva deleted the increase-type-coverage branch July 17, 2024 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant